package utils;

public class StringUtil {
    public static boolean isEmpty(String str) {
        return "".equals(str) || str == null;
    }

    public static boolean isNotEmpty(String str) {
        return !"".equals(str) && str != null;
    }

    public static String nullString(Object object) {
        if (object == null) {
            return "";
        } else {
            return object.toString();
        }
    }
}